package cn.yinyu.queue.module.ecg.controller.admin.jobrecord.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.yinyu.queue.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.yinyu.queue.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 工作记录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class JobRecordPageReqVO extends PageParam {

    @Schema(description = "作业类型", example = "1")
    private Integer[] jobType;

    @Schema(description = "医生编号", example = "24197")
    private Long docId;

    @Schema(description = "医生名称", example = "赵六")
    private String docName;

    @Schema(description = "设备编号", example = "9159")
    private String devId;

    @Schema(description = "患者编号", example = "19193")
    private String patId;

    @Schema(description = "患者名称", example = "嘉木")
    private String patName;

    @Schema(description = "作业时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] jobTime;

    @Schema(description = "作业概要")
    private String summary;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "对应租赁编号", example = "19472")
    private Long rentId;

}